package cn.yy.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Clienttype entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "clienttype", catalog = "phoneerp")
public class Clienttype implements java.io.Serializable {

	// Fields

	private Integer clientTypeId;
	private String clientTypeName;

	// Constructors

	/** default constructor */
	public Clienttype() {
	}

	/** full constructor */
	public Clienttype(String clientTypeName) {
		this.clientTypeName = clientTypeName;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "clientTypeId", unique = true, nullable = false)
	public Integer getClientTypeId() {
		return this.clientTypeId;
	}

	public void setClientTypeId(Integer clientTypeId) {
		this.clientTypeId = clientTypeId;
	}

	@Column(name = "clientTypeName", nullable = false, length = 10)
	public String getClientTypeName() {
		return this.clientTypeName;
	}

	public void setClientTypeName(String clientTypeName) {
		this.clientTypeName = clientTypeName;
	}

}